<ui:composition xmlns="http://www.w3.org/1999/xhtml" 
	xmlns:h="http://java.sun.com/jsf/html" 
	xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:a4j="http://richfaces.org/a4j" 
    xmlns:rich="http://richfaces.org/rich"
	xmlns:c="http://java.sun.com/jsp/jstl/core">




   	<rich:popupPanel id="fotosInmoble" autosized="true">
   	   
   	   
		<h:commandLink 	onclick="#{rich:component('fotosInmoble')}.hide()"  >
			
			<h:graphicImage value="/images/16-em-cross.png" alt="tancar" style="border:0"/>
				<a4j:ajax event="click" execute="@none" />
		</h:commandLink>

		<ui:include src="fotoUpload.xhtml" />
								  	
	</rich:popupPanel>


	
	<h:commandLink  border="0"  onclick="#{rich:component('fotosInmoble')}.show()"         
		  	  render="taulaInmobles" action="#{inmobleForm.esborrarInmobles}">                     
		     	<h:graphicImage value="/images/thumb_24-imageset-check.png" alt="Añadir fotos" style="border:0"/>                     
				<a4j:ajax event="click" execute="@none" />      			 	             
	</h:commandLink>
				   	
	

</ui:composition>